<?php

class Models_PatientsDiagnoses
        extends Zend_Db_Table_Abstract {

    protected $_name = 'PatientsDiagnoses';
    protected $_primary = array(
        'PatientId',
        'DiagnosisId'
    );
    protected $_referenceMap = array(
        'Patients' => array(
            'columns' => 'PatientId',
            'refTableClass' => 'Models_Patients',
            'refColumns' => 'UserId'
        )
    );

}